package com.woniuxy.service;

import com.woniuxy.entity.PaperClassEntity;
import com.woniuxy.entity.ResponseEntity;

public interface PaperClassService {
    /**查询所有菜单*/
    public ResponseEntity findAll();
    /**查询页码*/
    ResponseEntity findAll(int currentPage, int pageSize);
    /**根据id，删除试卷菜单中的指定类别*/
    public ResponseEntity deleteById(int id);
    /**添加试卷类别之前，查找fid*/
    ResponseEntity findFid();
    /**添加试卷类别*/
    ResponseEntity insertClass(PaperClassEntity paperClassEntity);
    /**修改试卷类别*/
    ResponseEntity updateClass(PaperClassEntity paperClassEntity);
    /**批量删除*/
    ResponseEntity batchDelete(PaperClassEntity paperClassEntity);
    /**按试卷分类名称搜索*/
    ResponseEntity searchClass(PaperClassEntity paperClassEntity);
    /**查询总条数*/
    ResponseEntity findTotalNumber();
    /**在修改前需要把原本的内容查询出来，渲染到页面上*/
    ResponseEntity updateBefore(PaperClassEntity paperClassEntity);

}
